//
//  ZqlTempVC.swift
//  ZqlSinaWeiBo
//
//  Created by 赵乾龙 on 16/2/24.
//  Copyright © 2016年 Mr.zhao. All rights reserved.
//

import UIKit

class ZqlTempVC: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = UIColor.orangeColor()
        
        //手动添加右侧返回按钮
        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", style: .Plain, target: self, action: nil)
        
    }
    
    //手动添加的按钮必须实现点击方法
    @objc private func clickPush(){
        let temp = ZqlTempVC()
        navigationController?.pushViewController(temp, animated: true)
    }
}
